<script type="text/javascript" charset="utf-8" >
$(function(){
	var url_contact_us =  "<?=site_url(); ?>index.php";
	
	// Add event to lang_vi anchor
	$('.header .langs .lang_vie').click(function(){
		
		return false;
	});
	
	// Add event to lang_en anchor
	$('.header .langs .lang_eng').click(function(){			
		
		
		var local_url = '<?=REFRESH_PAGES_CONTROLER;?>';
		
		var url = url_contact_us + '/' + local_url;
		
		//window.location.href = url_contact_us + '/' + local_url + '/' + en_type + '#content';
		
		var req_mode = '<?=LANG_EN_REQ_MODE;?>';
		
		$.post(
			url,
			{ref_types : req_mode},
			function (data) {				
				console.log('change_en_button : ' + data);
			}
		);
		
		return false;
	});	
});
</script >
<div class="logo">
	<a href="#"><img src="<?=base_url().$this->config->item('img').$this->lang->line('lmg_home_img_name_logo_vietsteel');?>" width="177" height="154" border="0" /></a>
</div>
<div class="welcome">
	<img src="<?=base_url().$this->config->item('img').$this->lang->line('lmg_home_img_name_welcome');?>" width="391" height="64" />
</div>
<div class="langs">
	<a class="lang_vie" href="#"><?=($this->lang->line('lmg_home_vi_VI') == '')? 'unknown' : $this->lang->line('lmg_home_vi_VI');?></a></a>
	<a class="lang_eng" href="#"><?=($this->lang->line('lmg_home_en_US') == '')? 'unknown' : $this->lang->line('lmg_home_en_US');?></a>
</div>
	

